<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>今日习惯 - 习惯掌控</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        }

        body {
            background-color: #f6f8fa;
            color: #333;
        }

        .container {
            max-width: 414px;
            margin: 0 auto;
            background-color: white;
            min-height: 100vh;
            position: relative;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        .header {
            padding: 40px 20px 20px;
            background-color: #4CAF50;
            color: white;
            text-align: center;
        }

        .date {
            font-size: 16px;
            margin-bottom: 10px;
            opacity: 0.9;
        }

        .title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .streak {
            font-size: 14px;
            opacity: 0.9;
        }

        .progress-container {
            padding: 20px;
            background-color: white;
            border-radius: 15px;
            margin: -15px 15px 0;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .progress-text {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }

        .progress-label {
            font-weight: bold;
            font-size: 16px;
        }

        .progress-value {
            color: #4CAF50;
            font-weight: bold;
        }

        .progress-bar {
            height: 8px;
            background-color: #e0e0e0;
            border-radius: 4px;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background-color: #4CAF50;
            width: 60%;
        }

        .habits-section {
            padding: 20px;
        }

        .section-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 15px;
        }

        .habit-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .habit-item {
            padding: 15px;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            display: flex;
            align-items: center;
        }

        .habit-icon {
            width: 45px;
            height: 45px;
            background-color: #e3f2fd;
            color: #4CAF50;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            margin-right: 15px;
        }

        .habit-info {
            flex: 1;
        }

        .habit-title {
            font-weight: bold;
            margin-bottom: 5px;
            font-size: 16px;
        }

        .habit-time {
            font-size: 13px;
            color: #666;
        }

        .habit-checkbox {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            border: 2px solid #4CAF50;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            margin-left: 10px;
            cursor: pointer;
        }

        .habit-checkbox.checked {
            background-color: #4CAF50;
        }

        .navigation {
            position: fixed;
            bottom: 0;
            width: 100%;
            max-width: 414px;
            background-color: white;
            display: flex;
            justify-content: space-around;
            padding: 15px 0;
            border-top: 1px solid #e0e0e0;
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            font-size: 12px;
            color: #888;
        }

        .nav-item.active {
            color: #4CAF50;
        }

        .nav-icon {
            font-size: 20px;
            margin-bottom: 5px;
        }

        .add-button {
            position: absolute;
            bottom: 70px;
            right: 20px;
            width: 56px;
            height: 56px;
            background-color: #4CAF50;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        .empty-space {
            height: 80px;
        }

        .quote {
            padding: 15px;
            margin: 15px;
            background-color: #f1f8e9;
            border-radius: 10px;
            font-style: italic;
            color: #2E7D32;
        }

        .quote-text {
            margin-bottom: 5px;
        }

        .quote-author {
            text-align: right;
            font-size: 13px;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="header">
            <div class="date">2023年10月15日，星期日</div>
            <div class="title">今日习惯</div>
            <div class="streak">连续坚持：15天</div>
        </div>

        <div class="progress-container">
            <div class="progress-text">
                <div class="progress-label">今日完成</div>
                <div class="progress-value">3/5</div>
            </div>
            <div class="progress-bar">
                <div class="progress-fill"></div>
            </div>
        </div>

        <div class="habits-section">
            <div class="section-title">今日习惯</div>
            <div class="habit-list">
                <div class="habit-item">
                    <div class="habit-icon">
                        <i class="fas fa-running"></i>
                    </div>
                    <div class="habit-info">
                        <div class="habit-title">晨跑5公里</div>
                        <div class="habit-time">6:00 - 6:30</div>
                    </div>
                    <div class="habit-checkbox checked">
                        <i class="fas fa-check"></i>
                    </div>
                </div>

                <div class="habit-item">
                    <div class="habit-icon">
                        <i class="fas fa-book"></i>
                    </div>
                    <div class="habit-info">
                        <div class="habit-title">阅读30分钟</div>
                        <div class="habit-time">8:00 - 8:30</div>
                    </div>
                    <div class="habit-checkbox checked">
                        <i class="fas fa-check"></i>
                    </div>
                </div>

                <div class="habit-item">
                    <div class="habit-icon">
                        <i class="fas fa-water"></i>
                    </div>
                    <div class="habit-info">
                        <div class="habit-title">喝水2000ml</div>
                        <div class="habit-time">全天</div>
                    </div>
                    <div class="habit-checkbox checked">
                        <i class="fas fa-check"></i>
                    </div>
                </div>

                <div class="habit-item">
                    <div class="habit-icon">
                        <i class="fas fa-apple-alt"></i>
                    </div>
                    <div class="habit-info">
                        <div class="habit-title">摄入蔬果5份</div>
                        <div class="habit-time">全天</div>
                    </div>
                    <div class="habit-checkbox">
                    </div>
                </div>

                <div class="habit-item">
                    <div class="habit-icon">
                        <i class="fas fa-moon"></i>
                    </div>
                    <div class="habit-info">
                        <div class="habit-title">22:30前睡觉</div>
                        <div class="habit-time">22:30</div>
                    </div>
                    <div class="habit-checkbox">
                    </div>
                </div>
            </div>

            <div class="quote">
                <div class="quote-text">"习惯的力量远远超过我们的想象。好习惯给我们带来成功，坏习惯引我们走向失败。"</div>
                <div class="quote-author">—— 詹姆斯·克利尔《掌控习惯》</div>
            </div>
        </div>

        <div class="empty-space"></div>

        <a href="#" class="add-button">
            <i class="fas fa-plus"></i>
        </a>

        <div class="navigation">
            <div class="nav-item active">
                <div class="nav-icon"><i class="fas fa-home"></i></div>
                <div>首页</div>
            </div>
            <div class="nav-item">
                <div class="nav-icon"><i class="fas fa-list-check"></i></div>
                <div>习惯</div>
            </div>
            <div class="nav-item">
                <div class="nav-icon"><i class="fas fa-chart-line"></i></div>
                <div>统计</div>
            </div>
            <div class="nav-item">
                <div class="nav-icon"><i class="fas fa-users"></i></div>
                <div>社区</div>
            </div>
            <div class="nav-item">
                <div class="nav-icon"><i class="fas fa-user"></i></div>
                <div>我的</div>
            </div>
        </div>
    </div>
</body>

</html>